package cn.donting.plugin.spring.boot.starter.contorller;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletRequestWrapper;

/**
 * @author donting
 */
public class PluginHttpRequestWrapper extends HttpServletRequestWrapper {
    /**
     * Constructs a request object wrapping the given request.
     *
     * @param request The request to wrap
     * @throws IllegalArgumentException if the request is null
     */
    private  HttpServletRequest httpServletRequest;
    public PluginHttpRequestWrapper(HttpServletRequest request) {
        super(request);
        this.httpServletRequest=request;
    }

    public HttpServletRequest getHttpServletRequest(){
        return httpServletRequest;
    }

}
